package com.company.entity;

import java.io.Serializable;

public class Contacts implements Serializable {
    private static final long serialVersionUID = 1L;
    private String name;
    private String phone;
    private String address;

    public Contacts() {
    }

    public Contacts(String name, String phone, String address) {
        this.name = name;
        this.phone = phone;
        this.address = address;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    @Override
    public String toString() {
        return this.getName()+"\t\t"+this.getPhone()+"\t\t"+this.getAddress();
    }
}
